home *** CD-ROM | disk | FTP | other *** search
-
- CPDIST(1) CPDIST(1)
-
- NAME
- cpdist - distribution copy command
-
- SYNOPSIS
- cpdist [options] destination
-
- DESCRIPTION
- cpdist is a copy command which takes the source filenames
- out of a seperate file called 'distfile' in this doc.
-
- Most people already use sth. like a distfile to inform others
- about the use or type of files in a distribution.
- The main idea behind cpdist was to combine the informative use
- of these index files with the ability of copying the files listed
- there.
-
- Rich documentation is very essencial and so the author decided
- to implement the support of C and C++ like comments in a distfile.
- A C comment is imbeded into a '/*' prefix and the matching '*/'
- The C++ comments (also called remarks here) begin with a '//' and
- end with the end of the line they appear in. Have a closer look
- on the supplied distfile.
-
- The files listed in a distfile must be seperated by white space,
- i.e. a space or tab character or the end of a line. Filenames
- containing white spaces have to be quoted with double quotes '"'.
-
- It is also possible to place so called distribution 'keys' in a
- distfile. A key is a character string followed by a colon ´:'
- and a white space, i.e. a space, tab or newline chatracter.
- It introduces a list of filenames which will only be copied if
- the leading key is valid. In other words, every filename between
- two distribution keys or a leading key and the end of file is
- ignored if the leading key is not valid. By default all keys are
- invalid, i.e. only files without a leading distribution key will
- be copied. You can make a key valid using the -D key option.
-
- It has never been easier for the author to prepare a distribution
- as in was in case of cpdist!
-
- OPTIONS
- -a Replace files in the destination path without asking.
- -b n Sets the copy buffer to <n> bytes. (limited to 64K
- on some machines)
- -c Checks the existence of all source files before copying
- anything.
- -D key make a distribution 'key' valid (see above).
- -E file Redirects errors to <file>.
- -f file Sets the name of the distfile to <file>. The default
- name is 'distfile'.
- -h Displays short help information and exits.
- -i Ignores (syntactic) errors in the distfile
- -k Keeps on going in case of I/O errors
- -n Don't copy anything -- just print.
- This option allows backticked usage of cpdist:
-
- 1> tar cf x.tar `cpdist -n`
-
- ... achrives all files listed in the Distfile.
-
- -q or Silent (quiet) cpdist won't print each filename when
- -s copying.
- -v Displays a short version information.
-
- NOTE
- (1) cpdist will _not_ create any sub-directories in your
- destination path. You should avoid the use of pathnames
- in your distfile if you don't know exactly what will happen.
-
- (2) cpdist _must_ be run exactly from the folder (directory) which
- contains the files listed in the distfile.
-
-
- AUTHOR
- Tobias Ferber, Goethestraße 32, 76135 Karlsruhe, Germany
-
- Earn: ukjg@dkauni2.bitnet
- InterNet: ukjg@ibm3090.rz.uni-karlsruhe.de
-